package org.dromara.iot.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;

import java.io.Serial;
import java.util.Date;

/**
 * 电梯年检计划对象 iot_annual_plan
 *
 * @author lsl
 * @date 2024-06-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("iot_annual_plan")
public class IotAnnualPlan extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 计划ID
     */
    @TableId(value = "plan_id")
    private Long planId;

    /**
     * 关联电梯ID
     */
    private Long elevatorId;

    /**
     * 电梯名称
     */
    private String elevatorName;

    /**
     * 注册码
     */
    private String registeredCode;

    /**
     * 安装日期
     */
    private Date installationDate;

    /**
     * 年检日期
     */
    private Date annualDate;

    /**
     * 限速器年检日期
     */
    private Date speedGovernor;

    /**
     * 备注
     */
    private String remark;


}
